package cn.tedu.huntingmall.mapper;

import cn.tedu.huntingmall.pojo.entity.user.User;
import cn.tedu.huntingmall.pojo.vo.user.UserStandardVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {

    int insert(User user);

    int updatePassword(@Param("username") String username, @Param("password") String password);

    UserStandardVO selectByUsername(String username);

}
